<template>
  <div id="lowcode"></div>
</template>

<script lang="ts" setup>
import { onMounted } from 'vue'
import { start } from 'qiankun'

defineOptions({
  name: 'LowCode',
})

onMounted(() => {
  if (!window.qiankunStarted) {
    window.qiankunStarted = true
    start({ sandbox: { experimentalStyleIsolation: true } })
  }
})
</script>

<style scoped lang="scss">
#lowcode {
  height: 100%;
}
</style>
